﻿@model ModularTodoApp.Web.Views.Shared.Components.UserMenuOrLoginLink.UserMenuOrLoginLinkViewModel
@if (Model.LoginInformations != null)
{
    <li class="dropdown">
        <a href="" data-toggle="dropdown"><i class="fa fa-user"></i> <span>@Html.Raw(Model.GetShownLoginName())</span> <b class="caret"></b></a>
        <ul class="dropdown-menu">
            <li><a href="@Url.Action("Logout", "Account")"><i class="fa fa-sign-out"></i> @L("Logout")</a></li>
        </ul>
    </li>
}
else
{
    <li><a href="@Url.Action("Login", "Account")"><i class="fa fa-sign-in"></i> @L("LogIn")</a></li>
}
